package cn.ljy.authority.model.dto.response;

import lombok.Data;

@Data
public class WechatSessionResponse {
    private String openid;
    private String session_key;
    private String unionid;
    private Integer errcode;
    private String errmsg;

    public boolean isSuccess() {
        return errcode == null || errcode == 0;
    }
}